﻿using A.M.ETO;
using A.M.Storage.I_Application;
using J.M.Inventory.Domain.DTO;
using J.M.Inventory.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Application.IInventoryServices
{
    public interface IWarehouseServices:IBaseServices<warehouse,string>
    {
        List<TreeDTO> GetWarehouse(string id, string? code);
        int TreeUpd(WarehouseDTO warehouseDTO);
        int DeleteTree(string id);
        List<TreeDTO> AddFromTree();
        ApiReturn<string> AddFromWarehouse(WarehouseDTO warehouseDTO);
         Task<warehouse> FindWarehouse(string? code);
    }
}
